package order

import (
	"github.com/gin-gonic/gin"
	"huijing_mall/api/middleware"
	"huijing_mall/api/order"
)

// 任务
func RouterOrder(r *gin.Engine) {
	or := r.Group("/auth", middleware.AuthMiddleware())
	{
		or.POST("/orders", order.CreateOrder)
	}
}
